#include <fstream>
#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{
	if(argc<2)
	{
		cout << "testcase filename needed\n";
		return 0;
	}

	char *filename = argv[1];
	ofstream fp;
	fp.open(filename);
	string a = "abcde\0";
	string b = "\0";
	string c = " ab\0";
	fp << "3\n";
	fp << a << endl;
	fp << b << endl;
	fp << c << endl;
	fp.close();

	return 0;
}

